package com.hingsmy.pma.controllers;

import com.hingsmy.pma.dao.UserAccountRepository;
import com.hingsmy.pma.entities.Project;
import com.hingsmy.pma.entities.UserAccount;
import org.apache.coyote.Request;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.mock.web.MockHttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.util.List;
@Controller
public class layoutsController {

    @Autowired
    UserAccountRepository userAccountRepository;
    @GetMapping("/lay")
    public String displayProjects(Model model,HttpServletRequest request){

        UserAccount userAccount=new UserAccount();
        
        model.addAttribute("userAccount", userAccount);
        return "layouts";
    }
}
